﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMSSyncData.Model.WMSModel
{
    /// <summary>
    /// 入库表-行
    /// </summary>
    [Table(TableName = "wms_T_InStockRMRows")]
    public class WMS_T_InStockRMRows
    {
        /// <summary>
        /// 单据号
        /// </summary>
        public string BillNo { get; set; }
        /// <summary>
        /// ERP相关单号
        /// </summary>
        public string RelatedBill { get; set; }
        /// <summary>
        /// 料号
        /// </summary>
        public string PartNumber { get; set; }
        /// <summary>
        /// 行号
        /// </summary>
        public int RowNo { get; set; }
        /// <summary>
        /// 顺序号
        /// </summary>
        public int OrderNo { get; set; }
        /// <summary>
        /// 计算数量
        /// </summary>
        public decimal PlanQty { get; set; }
        /// <summary>
        /// 收货数量
        /// </summary>
        public decimal RealQty { get; set; }
        /// <summary>
        /// 库存单位
        /// </summary>
        public string Unit { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public string Status { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public string CreateTime { get; set; }
        /// <summary>
        /// 更新人
        /// </summary>
        public string Updator { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public string UpdateTime { get; set; }
        /// <summary>
        /// 扩展1
        /// </summary>
        public string Ext1 { get; set; }
        /// <summary>
        /// 扩展2
        /// </summary>
        public string Ext2 { get; set; }
        /// <summary>
        /// 扩展3
        /// </summary>
        public string Ext3 { get; set; }

        public string Version { get; set; }
    }
}
